import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: require('@/pages/Index')
    },
    {
      path: '/stock',
      name: 'Stock',
      component: require('@/pages/Stock')
    },
    {
      path: '/warning',
      component: require('@/pages/Warning')
    },
    {
      path: '/school', // K线功能介绍
      component: require('@/pages/School')
    },
    {
      path: '/futureTheory', // 模拟走势的原理
      component: require('@/pages/FutureTheory')
    },
    {
      path: '/upDown', // 次日涨跌介绍
      component: require('@/pages/UpDown')
    }
  ]
})
